Category: Geeks r Us
Hi,
I'm trying to write a "who's online" script in php for a project I am
working on, also including a timeout to remove the user from the db if
he/she hasn't gone to another page within x amount of minutes. The part that
absolutely stumps me is the timeout part. I can't think of an effective way
to implement that. Can anyone help?
Put a function to clean out old users every time the script is called for a new user.